﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorkingFileManager
{
    public class OpenRecentFileMessageParameters
    {
        /// <summary>
        /// This action defines code that should run when it is time to proceed with opening a file
        /// from recent files- either the working file was not dirty, or the user declined to save,
        /// or the user saved and now it is time to open.
        /// </summary>
        public Action FileOpenCallback;

        /// <summary>
        /// Contains parameters that we will need if we end up saving or asking about the current
        /// working file before proceeding with opening one selected from the recent files list.
        /// </summary>
        public SaveFileInfo saveFileInfo = new SaveFileInfo();
    }
}
